<div class="pz-block pz-block-searchResult">
	<h2>{t}Search results{/t}</h2>
	<p class="info-result">{$results.nbResults} {t}result(s) for{/t} : <strong>{$words|strip_tags}</strong></p>
	{if $results.nbPages > 1}
	<div class="nav-top">
		{if $results.currentPage > 1}
		<a href="{$URL_RELATIVE}{$page->getUrl()}/{$page->getUniqueId()}/{$results.currentPage-1}" class="precedent">{t}Previous{/t}</a>
		{/if}
		
		<ul>
		{foreach from=$results.pageNumbers item=pageNumber}
			<li><a href="{$URL_RELATIVE}{$page->getUrl()}/{$page->getUniqueId()}/{$pageNumber}" class="{if $pageNumber == $results.currentPage}s-num-active{else}s-num{/if}">{$pageNumber}</a></li>
		{/foreach}
		</ul>
		
		{if $results.currentPage < $results.nbPages}
		<a href="{$URL_RELATIVE}{$page->getUrl()}/{$page->getUniqueId()}/{$results.currentPage+1}" class="suivant">{t}Next{/t}</a>
		{/if}
	</div>
	{/if}
	<div class="clear"></div>
	
	<div class="searchResults">
		<ul>
		{foreach from=$results.results item=result}
        <li><a href="{$result->getFullUrl()}" class="resultTitle">{$result->getDescription()}</a> <span class="resultText"><a href="{$result->getFullUrl()}">{$result->getContent()|truncateAtWord:100}</a></span></li>
		{/foreach}
		</ul>
	</div>
	<div class="clear"></div>
	
</div>